Skip to content

Add: Gitのセットアップと操作の基礎#12

Merged
toapuro merged 3 commits intotoapuro:masterfrom
Meatwo310:feat/git-basics
Mar 3, 2026
Merged

Add: Gitのセットアップと操作の基礎#12
toapuro merged 3 commits intotoapuro:masterfrom
Meatwo310:feat/git-basics

Conversation

@Meatwo310
Copy link
Contributor

タイトルの通り、Gitの基礎操作に関する記事を、入門カテゴリの最下部に追加します。

ほとんどがCLI操作です。ごちゃごちゃしないようかなり要素を削りつつ、最低限gitの仕組みについても触れています。

Email設定についても盛り込みました。誤ってプライベートなメアドを晒す事故の防止につながってほしいという願いを込めて

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

このプルリクエストは、Mod開発の入門者向けにGitの基本的な使い方を解説する新しいドキュメントを追加します。バージョン管理の重要性から、具体的なインストール手順、日々の操作、そして特に重要なメールアドレスのプライバシー保護まで、CLIを中心とした実践的な情報を提供することで、開発者が安全かつ効率的にGitを利用できるよう支援することを目的としています。

Highlights

  • Gitの基礎ガイドを追加: Mod開発者向けに、Gitのセットアップ、初期設定、GitHub CLIのインストール、基本的なGit操作(クローン、コミット、プッシュ、プル)、および.gitignoreの設定方法を網羅した新しいガイドが追加されました。
  • メールアドレスのプライバシー保護: コミット履歴からのメールアドレス流出を防ぐため、GitHubのnoreplyアドレスの使用を推奨し、その設定方法や、すでに流出してしまった場合の注意点について詳しく説明されています。
  • CLI操作の強調: Git操作はGUIではなく、コマンドラインインターフェース(CLI)を主体として説明されており、Windows TerminalやmacOSのターミナルの使用が推奨されています。
  • ドキュメントナビゲーションの更新: 新しいGit基礎ガイドが、mkdocs.ymlファイルを通じてドキュメントサイトの「入門」カテゴリのナビゲーションに追加されました。
Changelog
  • docs/content/getting-started/git.md
    • Gitのセットアップ、GitHub CLIのインストール、基本的なGit操作、およびメールアドレスのプライバシー保護に関する詳細なガイドが追加されました。
  • mkdocs.yml
    • ドキュメントのナビゲーションに、新しく追加されたGit基礎ガイドへのリンクが追加されました。
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Mar 2, 2026
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

「Gitのセットアップと操作の基礎」に関するドキュメントの追加ありがとうございます。全体的に非常によくまとまっており、特にメールアドレスのプライバシーに関する注意喚起は初心者にとって非常に有益だと感じました。
内容の正確性と分かりやすさをさらに向上させるため、2点ほど提案させていただきました。具体的には、FedoraでのGitHub CLIインストール手順の標準化と、git fetch/git pullの挙動に関する説明の明確化です。詳細は各コメントをご確認ください。

@toapuro
Copy link
Owner

toapuro commented Mar 3, 2026

できれば今後のコミットメッセージは小文字にしてくれると助かる

@toapuro
Copy link
Owner

toapuro commented Mar 3, 2026

LGTMです

@toapuro toapuro merged commit 108183e into toapuro:master Mar 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants